package com.base.dao.thbi;

import com.base.vo.thbi.InsuranceVsPriceSychi;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InsuranceVsPriceSychiMapper {
    int deleteByPrimaryKey(String aka400);

    void deleteAll();

    int insert(InsuranceVsPriceSychi record);

    int insertSelective(InsuranceVsPriceSychi record);

    InsuranceVsPriceSychi selectByPrimaryKey(String aka400);

    int updateByPrimaryKeySelective(InsuranceVsPriceSychi record);

    int updateByPrimaryKey(InsuranceVsPriceSychi record);

    int selectCount(@Param("yblx") String yblx,@Param("itemCode") String itemCode,@Param("itemName") String itemName);

    List<InsuranceVsPriceSychi> selectByCodeOrName(@Param("yblx") String yblx,@Param("itemCode") String itemCode,@Param("itemName") String itemName,
                                                   @Param("order") String order,@Param("sort") String sort);

    int insertBatch (List<InsuranceVsPriceSychi> insuranceVsPriceSychiList);

    int updateBatch(List<InsuranceVsPriceSychi> insuranceVsPriceSychiList);


    List<InsuranceVsPriceSychi> selectAll(@Param("yblx") String yblx);

    int exceDelete();

    int exceDeleteCount();

    int exceInsert();

    int exceInsertCount();

    int exceTruncate();


    String queryAreaCode(String yblx);
}